import request from '@/utils/request'

export function restart(ids) {
  return request({
    url: 'api/dev/data/import/list/restart/' + ids,
    method: 'put',
    ids
  })
}
export function page(params) {
  return request({
    url: 'api/dev/data/import/list/page',
    method: 'get',
    params
  })
}
export function download(params) {
  return request({
    url: 'api/dev/data/import/list/download',
    method: 'get',
    responseType: 'blob',
    params
  })
}
export default { restart,page,download }
